<template>
  <!-- 后台首页  路由组件 -->
  <div class="back-home">
    <!-- 导航栏组件 -->
    <BackNav></BackNav>
    <!-- 内容展示组件 -->
    <BackMain></BackMain>
  </div>
</template>

<script>
import BackNav from "@/components/back/BackNav";
import BackMain from "@/components/back/BackMain";
export default {
  name: "BackHome",
  components: { BackNav, BackMain },
  // computed: {
  //   ...mapGetters("user", ["isLogin"]),
  // },
  // beforeRouteEnter(to, from, next) {
  //   console.log("to", to);
  //   console.log("from", from);
  //   console.log("next", next);
  //   next({ path: "/login" });
  // },
};
</script>

<style lang="less" scoped>
.back-home {
  display: flex;
}
</style>